<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Flowy admin</title>
  <%= stylesheet_link_tag "todc-bootstrap", :media => :all %>
  <%= stylesheet_link_tag "style-admin", :media => :all %>

  <%= javascript_include_tag "admin-bundle" %>

  <%= yield :head %>
  <%= csrf_meta_tags %>

</head>
<body>
  <div class="navbar navbar-googlebar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <a class="brand" href="/summary">Flowy Admin</a>
        <ul class="nav">
          <li><a href="/summary">今日</a></li>
          <li><a href="/histories">历史统计</a></li>
          <li><a href="/sns">账号管理</a></li>
          <li><a href="/replies">回复</a></li>
          <li><a href="/">搜索</a></li>

        </ul>
        <ul class="nav pull-right">
          <li id="fat-menu" class="dropdown">
            <a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">
              个人 <b class="caret"></b>
            </a>
            <ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="#">修改密码</a>
              </li>

              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="#">退出登录</a>
              </li>
            </ul>
          </li>
        </ul>

      </div>
    </div>
  </div>

  <div class="container" id="alert">

  </div>

  <div class="container">
    <%= yield %>

  </div>

  <footer class="footer well navbar-fixed-bottom">
    <div class="container">
      <p>Flowy admin Ver 1.0 beta</p>
    </div>
  </footer>
</body>
    <%= yield :foot %>

</html>
